package com.sihan.framework.etm.service.business.impl;

import com.sihan.framework.etm.mapper.business.GeneralMapper;
import com.sihan.framework.etm.service.business.GeneralService;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @author gyz
 * @version 1.0
 * @since jdk1.8
 */
@Component
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class GeneralServiceImpl implements GeneralService {

	private final GeneralMapper generalMapper;

	@SuppressWarnings("rawtypes")
	@Override
	public List<Map> getToolListByTypeId(String typeId) {
		return generalMapper.getToolListByTypeId(typeId);
	}
}
